package operation;

import book.Book;
import book.BookList;

public class ShowOperation implements Operation{
    @Override
    public void work(BookList bookList) {
        int currentSize = bookList.getUsedsize();
        for (int i = 0; i < currentSize; i++) {
             Book book = bookList.getBook(i);
            System.out.println(book);
        }

    }
}
